package com.jinhongone.pattern.behavior.iterator;

/**
 * @author jinho
 * @className StudentAggregate
 * @description 抽象聚合角色
 * @date 2025/4/17 9:03
 */
public interface StudentAggregate {
    //添加元素
    void addStudent(Student stu);
    //删除元素
    void removeStudent(Student stu);
    //获取迭代器
    StudentIterator getStudentIterator();
}
